package com.gateon.hw.api.mobile.controller;

import com.gateon.hw.base.vo.Result;
import com.gateon.hw.client.yunding.client.YunDingClient;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by gongweibing on 2020/3/9.
 */
@Api(value = "测试bootStrapUi")
@RestController
@RequestMapping("test")
public class SayController{
    @Autowired
    private YunDingClient yunDingClient;


    @ApiOperation(value = "测试说话")
    @GetMapping("say")
    public String get() {
        return yunDingClient.Test("121212");
    }



}
